


# urlpatterns 固定写法
from django.urls import path
from book.views import index,book,login,weibo

urlpatterns = [     # 其中path里的路径要统一(index/ ,la/songs/)

    path('index',index),

    path('<cat_id>/<detail_id>/',book),
    path('login/',login),
    path('weibo/',weibo),
]
